package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper

public interface MemberDao {
    Member selectByPhoneNumber(@Param("phoneNumber") String phoneNumber);

    void updateByIdSelective(Member member);

    Integer findMemberCountBeforeData(String date);

    void insert(Member member);

    Member selectById(@Param("id") Integer id);
}
